package com.luoye.lj.platform.model.exception;

/**
 * Created with IntelliJ IDEA.
 * User: Dave Liu
 * Date: 15-9-29
 * Time: 上午11:25
 * To change this template use File | Settings | File Templates.
 */
public class ServiceException extends RuntimeException {
    ExceptionEntity exceptionEntity;
    int status;

    public ServiceException() {
    }

    public ServiceException(ExceptionEntity exceptionEntity, int status) {
        this.exceptionEntity = exceptionEntity;
        this.status = status;
    }

    public ExceptionEntity getExceptionEntity() {
        return exceptionEntity;
    }

    public void setExceptionEntity(ExceptionEntity exceptionEntity) {
        this.exceptionEntity = exceptionEntity;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
